allowAction

Add an action to the list of allowed actions. This method can be called multiple times and the result is additive. They will not overwrite each other.

Return

this builder.

Parameters

action

the name of an action.


Add a filter for allowed actions. This method can be called multiple times and the result is additive. They will not overwrite each other.

Return

this builder.

Parameters

filter

a filter that tests if an action is allowed.